import request from '@/api/request.js'

// MF合同报表
export function contractManagementMFReport(params) {
    return request({
        url: 'wflow/reportForm/ContractManagementMFReport',
        method: 'post',
        data: params
    })
}

//MF合同报表导出
export function exportContract(params) {
    return request({
        url: 'wflow/reportForm/ExportContractManagementMFReport',
        method: 'post',
        responseType: "blob",
        data: params
    })
}

// MF付款申请报表
export function paymentMFReport(params) {
    return request({
        url: 'wflow/reportForm/PaymentMFReport',
        method: 'post',
        data: params
    })
}

// MF付款申请报表导出
export function exportPaymentMFReport(params) {
    return request({
        url: 'wflow/reportForm/ExportPaymentMFReport',
        method: 'post',
        responseType: "blob",
        data: params
    })
}

// MF对私报销
export function reimbursementForPrivateMFReport(params) {
    return request({
        url: 'wflow/reportForm/ReimbursementForPrivateMFReport',
        method: 'post',
        data: params
    })
}

// MF对私报销报表导出
export function exportReimbursementForPrivateMFReport(params) {
    return request({
        url: 'wflow/reportForm/ExportReimbursementForPrivateMFReport',
        method: 'post',
        responseType: "blob",
        data: params
    })
}

// MF对公报销
export function reimbursementToCorporateMFReport(params) {
    return request({
        url: 'wflow/reportForm/ReimbursementToCorporateMFReport',
        method: 'post',
        data: params
    })
}

// MF对公报销报表导出
export function exportReimbursementToCorporateMFReport(params) {
    return request({
        url: 'wflow/reportForm/ExportReimbursementToCorporateMFReport',
        method: 'post',
        responseType: "blob",
        data: params
    })
}

// MF长期资产报告
export function longTermAssetMFReport(params) {
    return request({
        url: 'wflow/reportForm/LongTermAssetMFReport',
        method: 'post',
        data: params
    })
}

// MF长期资产报告报表导出
export function exportLongTermAssetMFReport(params) {
    return request({
        url: 'wflow/reportForm/ExportLongTermAssetMFReport',
        method: 'post',
        responseType: "blob",
        data: params
    })
}

//MF长期资产应付
export function longTermAssetsPayableMFReport(params) {
    return request({
        url: 'wflow/reportForm/LongTermAssetsPayableMFReport',
        method: 'post',
        data: params
    })
}

//MF长期资产应付导出
export function exportLongTermAssetsPayableMFReport(params) {
    return request({
        url: 'wflow/reportForm/ExportLongTermAssetsPayableMFReport',
        method: 'post',
        responseType: "blob",
        data: params
    })
}

//MF在建工程报告
export function constructionInProgressReport(params) {
    return request({
        url: 'wflow/reportForm/ConstructionInProgressReport',
        method: 'post',
        data: params
    })
}

//MF在建工程报告导出
export function exportConstructionInProgressReport(params) {
    return request({
        url: 'wflow/reportForm/ExportConstructionInProgressReport',
        method: 'post',
        responseType: "blob",
        data: params
    })
}

//MF存货标准应付
export function MFStandardInventoryPayableReport(params) {
    return request({
        url: 'wflow/reportForm/MFStandardInventoryPayableReport',
        method: 'post',
        data: params
    })
}

//MF存货标准应付导出
export function ExportMFStandardInventoryPayableReport(params) {
    return request({
        url: 'wflow/reportForm/ExportMFStandardInventoryPayableReport',
        method: 'post',
        responseType: "blob",
        data: params
    })
}

//MF存货费用应付
export function MFCostInventoryPayableReport(params) {
    return request({
        url: 'wflow/reportForm/MFCostInventoryPayableReport',
        method: 'post',
        data: params
    })
}

//MF存货费用应付导出
export function ExportMFCostInventoryPayableReport(params) {
    return request({
        url: 'wflow/reportForm/ExportMFCostInventoryPayableReport',
        method: 'post',
        responseType: "blob",
        data: params
    })
}

//MF存货暂估应付
export function MFInventoryEstimatedPayableReport(params) {
    return request({
        url: 'wflow/reportForm/MFInventoryEstimatedPayableReport',
        method: 'post',
        data: params
    })
}

//MF存货暂估应付导出
export function ExportMFInventoryEstimatedPayableReport(params) {
    return request({
        url: 'wflow/reportForm/ExportMFInventoryEstimatedPayableReport',
        method: 'post',
        responseType: "blob",
        data: params
    })
}

//外派申请
export function WPSQReport(params) {
    return request({
        url: 'wflow/reportForm/WPSQReport',
        method: 'post',
        data: params
    })
}

//外派申请导出
export function ExportWPSQReport(params) {
    return request({
        url: 'wflow/reportForm/ExportWPSQReport',
        method: 'post',
        responseType: "blob",
        data: params
    })
}

//签证办理
export function QZBLReport(params) {
    return request({
        url: 'wflow/reportForm/QZBLReport',
        method: 'post',
        data: params
    })
}

//签证办理导出
export function ExportQZBLReport(params) {
    return request({
        url: 'wflow/reportForm/ExportQZBLReport',
        method: 'post',
        responseType: "blob",
        data: params
    })
}

//PurchaseRequestMF
export function PurchaseRequestMFReport(params) {
    return request({
        url: 'wflow/reportForm/PurchaseRequestMFReport',
        method: 'post',
        data: params
    })
}

//PurchaseRequestMF导出
export function ExportPurchaseRequestMFReport(params) {
    return request({
        url: 'wflow/reportForm/ExportPurchaseRequestMFReport',
        method: 'post',
        responseType: "blob",
        data: params
    })
}


// 导出具体的接口
export default {
    contractManagementMFReport, exportContract,
    paymentMFReport, exportPaymentMFReport,
    reimbursementForPrivateMFReport, exportReimbursementForPrivateMFReport,
    reimbursementToCorporateMFReport, exportReimbursementToCorporateMFReport,
    longTermAssetMFReport, exportLongTermAssetMFReport,
    longTermAssetsPayableMFReport, exportLongTermAssetsPayableMFReport,
    constructionInProgressReport, exportConstructionInProgressReport,
    MFStandardInventoryPayableReport, ExportMFStandardInventoryPayableReport,
    MFCostInventoryPayableReport, ExportMFCostInventoryPayableReport,
    MFInventoryEstimatedPayableReport, ExportMFInventoryEstimatedPayableReport,
    WPSQReport, ExportWPSQReport,
    QZBLReport, ExportQZBLReport,
    PurchaseRequestMFReport, ExportPurchaseRequestMFReport
}